import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import ViewUI from 'view-design';
import 'view-design/dist/styles/iview.css';
//引入仓库
import store from '@/store';

Vue.use(ElementUI);
Vue.use(ViewUI);

//测试
import {reqCategoryList} from '@/api';
// reqCategoryList();


Vue.config.productionTip = false;


new Vue({
  router,
  //注册仓库:组件实例的身上会多一个$store属性
  store,
  render: h => h(App)
}).$mount('#app')
